<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<link type="text/css" href="css/reserv_detail.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="css/elastislide.css" /><!-- 슬라이더 기능 -->
<script src="js/modernizr.custom.17475.js"></script><!-- 슬라이더 기능 -->
<div id="contents">
	<%@ include file="../tiles/reserv_detail.jspf" %><!-- nav 메뉴 -->
	<ul id="loca">
		<li><a href="">홈</a>&nbsp;&gt;</li>
		<li>Mypage</li>
	</ul>
	<div id="mypage" class="clearf">
		<ul>
			<li class="mypagebox">
				<div class="mypagebox1">
					<h2>
						예매 정보
					</h2>
				</div>
				<table>
					<colgroup>
						<col style="width:8%" />
						<col style="width:20%" />
						<col style="width:10%" />
						<col style="width:12%"  />
						<col style="width:5%" />
						<col style="width:8%" />
						<col style="width:10%" />
						<col style="width:12%" />
						<col style="width:10%" />
						<col style="width:10%" />
					</colgroup>
					
					<tr>
						<th>예매번호</th><th>영화명</th><th>영화관</th><th>관람일시</th><th>매수</th>
						<th>상영시간</th><th>관/좌석</th><th>예매일</th><th>결제 완료 여부</th><th>상세정보</th>
					</tr>
					<c:forEach var="rv" items="${ reservationdetail }" > 
					<tr>
						<th>${ rv.rno }</th>
						<th>${rv.title }</th>
						<th>${rv.cinename }</th>
						<th>${rv.shdate }</th>
						<th>${rv.people }</th>
						<th>${rv.runningtime }</th>
						<th>${ rv.theater }/ ${ rv.seat }</th>
						<th>${rv.rdate}</th>
						<th>
							<c:if test="${rv.ispay eq 'y'}">
								결제 완료
							</c:if>
							<c:if test="${rv.ispay eq 'n'}">
								결제 대기
							</c:if>
						</th>
						<th><a href="rsrv_info.bi?rno=${rv.rno }" id="infobtn">상세정보</a></th>
					</tr>
					</c:forEach> 
					<%-- rsrv_info.bi?rno=${rv.rno } --%>
				</table>
			</li> <!-- 예매정보 -->
		</ul>
	</div><!-- mypage-->
</div><!-- contents -->



